package com.djzhou.gmms.model.department;

import java.util.Date;

import com.djzhou.gmms.model.company.TbCompany;
import com.djzhou.gmms.model.entity.Entity;
import com.djzhou.gmms.model.user.TbUser;

public class TbDepartment  extends Entity {


	private Integer departmentId;//部门ID
	private String departmentName;//部门名字
	private String departmentNo;//部门编码
	private String departmentDuty;//部门职责
	private Integer parentDepartmentId;//父级ID
	private String departmentManager;//部门经理
	private String departmentPhone;//电话
	private String departmentFax;//传真
	private String departmentEmail;//email
	private String departmentAddress;//地址
	private Date createTime;//创建时间
	private Date lastModifyTime;//最后修改时间
	private Integer deleteFlag;//删除标识
	private String remark;//备注
	private String backupData;//备份数据
	private String departmentPath;//部门无限级路径
	
	private TbCompany company;//公司实体
	private TbUser user;//操作人
	
	private Integer defaultFlag;//是否为默认 添加其他数据选择该数据时默认选择该项
	
	
	public TbUser getUser() {
		return user;
	}
	public void setUser(TbUser user) {
		this.user = user;
	}
	
	
	public TbCompany getCompany() {
		return company;
	}
	public void setCompany(TbCompany company) {
		this.company = company;
	}
	public Integer getDepartmentId() {
		return departmentId;
	}
	public void setDepartmentId(Integer departmentId) {
		this.departmentId = departmentId;
	}
	public String getDepartmentName() {
		return departmentName;
	}
	public void setDepartmentName(String departmentName) {
		this.departmentName = departmentName;
	}
	public String getDepartmentNo() {
		return departmentNo;
	}
	public void setDepartmentNo(String departmentNo) {
		this.departmentNo = departmentNo;
	}
	public String getDepartmentDuty() {
		return departmentDuty;
	}
	public void setDepartmentDuty(String departmentDuty) {
		this.departmentDuty = departmentDuty;
	}
	public Integer getParentDepartmentId() {
		return parentDepartmentId;
	}
	public void setParentDepartmentId(Integer parentDepartmentId) {
		this.parentDepartmentId = parentDepartmentId;
	}
	public String getDepartmentManager() {
		return departmentManager;
	}
	public void setDepartmentManager(String departmentManager) {
		this.departmentManager = departmentManager;
	}
	public String getDepartmentPhone() {
		return departmentPhone;
	}
	public void setDepartmentPhone(String departmentPhone) {
		this.departmentPhone = departmentPhone;
	}
	public String getDepartmentFax() {
		return departmentFax;
	}
	public void setDepartmentFax(String departmentFax) {
		this.departmentFax = departmentFax;
	}
	public String getDepartmentEmail() {
		return departmentEmail;
	}
	public void setDepartmentEmail(String departmentEmail) {
		this.departmentEmail = departmentEmail;
	}
	public String getDepartmentAddress() {
		return departmentAddress;
	}
	public void setDepartmentAddress(String departmentAddress) {
		this.departmentAddress = departmentAddress;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Date getLastModifyTime() {
		return lastModifyTime;
	}
	public void setLastModifyTime(Date lastModifyTime) {
		this.lastModifyTime = lastModifyTime;
	}
	public Integer getDeleteFlag() {
		return deleteFlag;
	}
	public void setDeleteFlag(Integer deleteFlag) {
		this.deleteFlag = deleteFlag;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public String getBackupData() {
		return backupData;
	}
	public void setBackupData(String backupData) {
		this.backupData = backupData;
	}
	public String getDepartmentPath() {
		return departmentPath;
	}
	public void setDepartmentPath(String departmentPath) {
		this.departmentPath = departmentPath;
	}
	public Integer getDefaultFlag() {
		return defaultFlag;
	}
	public void setDefaultFlag(Integer defaultFlag) {
		this.defaultFlag = defaultFlag;
	}


}